package com.hst.web.base.ui;

import com.hst.core.meta.MetaData;
import com.hst.core.meta.annotation.EAuth;
import com.hst.core.meta.annotation.EField;
import com.hst.core.meta.annotation.EInfo;
import com.hst.core.meta.annotation.FieldQuery;
import com.hst.web.base.entity.TCompanyInfo;
import com.hst.web.base.proxy.CompanyInfoProxy;

@EAuth(value = "10001", edit = "1000101",create="1000102",del="1000103",exp="1000104")
@EInfo(name = "company-info", title = "企业管理", entity = TCompanyInfo.class,proxy = CompanyInfoProxy.class)
public class CompanyInfo extends MetaData {

	@EField(title = "企业ID", form = 0)
	private String companyCode;

	@EField(title = "企业名称", query = FieldQuery.LIKE, validate = "required|max:100")
	private String companyName;

	@EField(title = "简称", validate = "max:100")
	private String shortName;

	@EField(title = "拼音字母缩写", list = false, validate = "max:10")
	private String shortnameLetter;

	@EField(title = "社会信用代码", query = FieldQuery.LIKE, validate = "required|max:50")
	private String creditCode;

	@EField(title = "单位类型", editor = "select.unittype", viewer = "dict.unittype")
	private String unittype;

	@EField(title = "企业联系人", list = false, validate = "max:100")
	private String linkman;

	@EField(title = "企业联系电话", list = false, validate = "max:100")
	private String contact;

	@EField(title = "企业地址", validate = "max:100")
	private String address;

	@EField(title = "单位运输证照片",editor = "uploadImg.transportCert", list = false,group="附件")
	private String transportCert;

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLinkman() {
		return linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public String getShortnameLetter() {
		return shortnameLetter;
	}

	public void setShortnameLetter(String shortnameLetter) {
		this.shortnameLetter = shortnameLetter;
	}

	public String getCreditCode() {
		return creditCode;
	}

	public void setCreditCode(String creditCode) {
		this.creditCode = creditCode;
	}

	public String getTransportCert() {
		return transportCert;
	}

	public void setTransportCert(String transportCert) {
		this.transportCert = transportCert;
	}

	public String getUnittype() {
		return unittype;
	}

	public void setUnittype(String unittype) {
		this.unittype = unittype;
	}
}
